{##
 # Select fajr skin settings page.
 #
 # @copyright  Copyright (c) 2010-2011 The Fajr authors (see AUTHORS).
 #             Use of this source code is governed by a MIT license that can be
 #             found in the LICENSE file in the project root directory.
 # @author     TODO
 #}
{% extends "layout/settings.xhtml" %}
{% block title %}Nastavenia{% endblock %}
{% block application_content %}
{% import "macros/settings.xhtml" as settingsMacros %}
{{ parent() }}
  {% set tabContent %}
  <form method="post" action="">
    <fieldset>
      {% for key,item in availableSkins %}
        {% if currentSkin == key %}
          {% set selected %}CHECKED{% endset %}
        {% else %}
          {% set selected %}{% endset %}
        {% endif %}
        <div class="skinSelect">
          <img class="skinSelect" src="images/skins/{{ key }}.png">
          <input type="radio" name="skinSelect" value="{{ key }}" {{ selected }}>
          <b>{{item.skinName}}</b> {{item.description}}
        </div>
      {% endfor %}
        <button type="submit" class="saveSettings" name="submit">
          Zmeň
        </button>
    </fieldset>
  </form>
  {% endset %}
  {{ settingsMacros.settingsTabs(tabContent, '') }}
{% endblock %}
